package com.industrial.system.mapper;

import com.industrial.system.domain.SysArea;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysAreaMapper {
    List<SysArea> selectShanDongProvinceAreaDataList();


    List<SysArea> queryAreaTreeByCode(SysArea sysArea);

    List<SysArea> selectCityProvinceAreaDataList(SysArea sysArea);

    SysArea selectAreaByPk(String sysArea);

    List<SysArea> selectAreaByParentId(@Param("parentId") String parentId);

    String selectAreaNameByCode(String code);

    SysArea selectAreaParentCodeyCode(String parentCode);

    List<SysArea> selectShanDongProvinceAreaDataListByParentCode(@Param("parentCode") String parentCode);

    List<String> selectAreaCodeByAreaName(@Param("areaName") String areaName);
}
